package com.craney.aboutFilter
{
	import flash.display.Shape;
	import flash.display.Sprite;
	import flash.filters.BitmapFilterQuality;
	import flash.filters.BlurFilter;
	
	public class TestBlurFilter
	{
		public function TestBlurFilter(ps:Sprite)
		{
			var shp:Shape = new Shape();
			shp.graphics.lineStyle();
			shp.graphics.beginFill(0xff0000);
			shp.graphics.drawCircle(145, 90, 125);
			shp.graphics.endFill();
			
			shp.graphics.beginFill(0xffcc00);
			shp.graphics.drawRect(-100, -100, 100, 80);
			
			var blur:BlurFilter = new BlurFilter();
			blur.blurX = 100;
			blur.blurY = 0;
			blur.quality = 100;
			
			ps.addChild(shp);
			shp.filters = [blur];
			
		}

	}
}